The Coronavirus Dashboard: the case of Sri Lanka
This Coronavirus dashboard: the case of Sri Lanka provides an overview of the 2019 Novel Coronavirus COVID-19 (2019-nCoV) epidemic for Sri Lanka. This dashboard is built with R using the R Makrdown framework and was adapted from this dashboard by Rami Krispin and the code is adapted from GitHub by Antoine Soetewey. More details can be found in this article.
Code
The code behind this dashboard is available on GitHub by Antoine Soetewey. I have made some changes to this code when I ran into some errors. It can be found in GitHub.
Data
The input data for this dashboard is the dataset available from the {coronavirus} R package. Make sure to download the development version of the package to have the latest data:
install.packages("devtools")
devtools::install_github("RamiKrispin/coronavirus")
This dashboard will not update by itself every day, we need to manually update it. After updating the data, we need to restart the R session in order to have the last available data. I have published this through through RPubs (because it is free and easy to publish your work directly from RStudio).
The raw data is pulled from the Johns Hopkins University Center for Systems Science and Engineering (JHU CCSE) Coronavirus repository.